#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Quest.nanopb.h"
#ifndef MAX_QUEST_QUESTDATA_NUM
#define MAX_QUEST_QUESTDATA_NUM 1400
#endif

class QuestDesc : public NFI_DESC_TEMPLATE_MACRO(QuestDesc, E_Quest, EOT_CONST_QUEST_QUESTDATA_DESC_ID, MAX_QUEST_QUESTDATA_NUM)
public:
	QuestDesc();
	virtual ~QuestDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
